#pragma once

#include "Item.h"

class Player;

class Food : public Item {
protected:
	int m_satiation;
public:
	Food(FoodType type);
	Food(FoodType type, std::ifstream& file);
	virtual ~Food();
	virtual void eatEffects(Player* player);
	virtual int getSatiation() const;
	virtual void render(float x, float y);
	void save(std::ofstream& file) const;
};

inline int Food::getSatiation() const {return m_satiation;}

